﻿using System.Web.Mvc;
using NJ.Web.Filter;

namespace NJ.Web
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new ExceptionFilterAttribute());
            filters.Add(new AuthorizeFilterAttribute());
            filters.Add(new JsonFilterAttribute());
        }
    }
}